create: 01_create.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

terminate: 02_terminate.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

cancel: 03_cancel.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

race_condition: 04_race_condition.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

lock: 05_lock.c
	-gcc  $^ -o $@
	-./$@
	-rm $@


condition_var: 06_condition_var.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

shm: 07_shm.c
	-gcc  $^ -o $@
	-./$@
	-rm $@

sem_count: 08_sem_count.c
	-gcc  $^ -o $@
	-./$@
	-rm $@